﻿<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Manager.master.cs" Inherits="Manager_Manager" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <asp:ContentPlaceHolder ID="PageTitle" runat="server">
        </asp:ContentPlaceHolder>
    </title>
    <link type="text/css" rel="stylesheet" href="../Style/style.css" />
    <link type="text/css" rel="stylesheet" href="../Style/icon.css" />
    <style type="text/css">
        #content .inner
        {
            padding-top: 35px;
            width: 98%;
        }
        #content
        {
            margin-left: 240px;
            min-width: 690px;
            padding: 0 10px 0 0;
            width: auto;
        }
        #versionBar
        {
            color: #000000;
            position:relative;  
            background:none;          
            font-size: 12px;
            line-height: 35px;
            text-align: left;
            text-shadow: none;
            width: 100%;
            z-index: 99;
        }
    </style>
    <script type="text/javascript" src="../Javascript/jquery.min.js"></script>
    <script type="text/javascript" src="../Javascript/jquery-jrumble.js"></script>
    <script type="text/javascript" src="../Javascript/jquery.ui.min.js"></script>
    <script type="text/javascript" src="../Javascript/jquery.tipsy.js"></script>
    <script type="text/javascript" src="../Javascript/iphone.check.js"></script>
    <script type="text/javascript" src="../Javascript/login.js"></script>
    <asp:ContentPlaceHolder ID="PageHeader" runat="server">
    </asp:ContentPlaceHolder>
    <script type="text/javascript">        
        var pageTitle = window.location.pathname.replace(/^.*\/([^/]*)/, "$1");
        $(document).ready(function () {
            $("#ctl00_Logout").click(function () {
                loading('Logout ...', 1);
                $.ajax({
                    type: "POST",
                    url: "../ajax.asmx/logout",
                    dataType: "json",
                    contentType: "application/json; charset=utf-8",
                    success: function () {
                        setTimeout('unloading()', 1900);
                        setTimeout("window.location.href='Login.aspx'", 2000);
                        return false;
                    }
                });
                return false;
            });
            checkSelectMenu(pageTitle);    
                  
        });

        function checkSelectMenu(page)
        {
            $("#main_menu").find('li').removeClass('select');
            var pages = page.split('.');
            $("#main_menu").find('.' + pages[0]).addClass("select");
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
     <div id="alertMessage" class="error">
    </div>
    <div id="successLogin">
    </div>
    <div id="header">
        <div id="account_info">
            <div class="setting" title="Profile Setting">
                <b>Welcome,</b> <b class="red" id="fullnameAdmin">
                    <% Response.Write(Session["AdminName"]); %></b></div>
            <div class="logout" title="Disconnect">
                <b></b>
                <asp:Label ID="Logout" runat="server" Text="Logout"></asp:Label>
            </div>
        </div>
    </div>
    <!--//  header -->
    <div id="shadowhead" style="position: absolute; display: block;">
    </div>
    <div id="left_menu">
        <ul id="main_menu" class="main_menu">
            <li class="limenu Default"><a href="Default.aspx"><span class="ico gray shadow home"></span>
                <b>Home</b></a></li>
            <li class="limenu Profile"><a href="Profile.aspx"><span class="ico gray shadow window"></span>
                <b>Profile</b></a> </li>
            <li class="limenu ChangePasswordManager"><a href="ChangePasswordManager.aspx"><span class="ico gray  dimensions">
            </span><b>Change password</b></a> </li>
            <li class="limenu ManagerCandidate select"><a href="ManagerCandidate.aspx"><span class="ico gray shadow  spreadsheet">
            </span><b>Manager Candidates</b> </a></li>
            <li class="limenu ManagerQuestion"><a href="ManagerQuestion.aspx"><span class="ico gray shadow pictures_folder">
            </span><b>Manager Questions </b></a></li>
            <li class="limenu ManagerCategory"><a href="ManagerCategory.aspx"><span class="ico gray shadow pictures_folder">
            </span><b>Manager Category </b></a></li>
            <li class="limenu Report"><a href="Report.aspx"><span class="ico gray shadow stats_lines"></span>
                <b>Manager Report</b> </a></li>
        </ul>
    </div>
    <div id="content">
        <div class="inner">
            <div class="topcolumn">
                <div class="logo">
                    Manager Aptitude Online Test
                </div>
                <ul id="shortcut">
                    <li><a href="Default.aspx" title="Back To home">
                        <img src="../images/icon/shortcut/home.png" alt="home" /><strong>Home</strong> </a>
                    </li>
                    <li><a href="#" title="Website Graph">
                        <img src="../images/icon/shortcut/graph.png" alt="graph" /><strong>Candidate</strong>
                    </a></li>
                    <li><a href="#" title="Setting">
                        <img src="../images/icon/shortcut/setting.png" alt="setting" /><strong>Question</strong></a>
                    </li>
                    <li><a href="#" title="Messages">
                        <img src="../images/icon/shortcut/mail.png" alt="messages" /><strong>Report</strong></a><div
                            class="notification">
                            10</div>
                    </li>
                </ul>
            </div>
            <div class="clear">
            </div>
            <div class="onecolumn">
                <asp:ContentPlaceHolder ID="BodyContent" runat="server">
                </asp:ContentPlaceHolder>
            </div>
            <div class="clear">
            </div>
            <div id="versionBar">
                <div class="copyright">
                    &copy; Copyright 2012 All Rights Reserved <span><a href="#" title="Copyright">
                        Group 5 - C1008L</a> </span>
                </div>
            </div>
        </div>
        <!--// End inner -->
    </div>
    <!--// End content -->
    </form>
</body>
</html>
